﻿using System;

namespace YmtAuth.Dto
{
    /// <summary>
    /// 登录日志
    /// </summary>
    public class LoginLogRequestDto
    {
        public string sLoginId { get; set; }
        public int iAction { get; set; }
        public string sLoginIp { get; set; }
        public string sSummary { get; set; }   
        /// <summary>
        /// 登录客户端类型：www.ymatou.com ，app，dms，xxx.admin,ali,weibo
        /// </summary>
        public string sClientType { get; set; }
        /// <summary>
        /// ChannelSource
        /// </summary>       
        public string CSource { get; set; }
        /// <summary>
        /// Terminal Source
        /// </summary>      
        public string TSource { get; set; }
    }

    public class LoginLogResponseDto
    {
        public string sLoginId { get; set; }
        public int iAction { get; set; }
        public string sLoginIp { get; set; }
        public string sSummary { get; set; }
        public DateTime dAddTime { get; set; }
        /// <summary>
        /// 登录客户端类型：www.ymatou.com ，app，dms，xxx.admin,ali,weibo
        /// </summary>      
        public string sClientType { get; set; }
        public double RunTime { get; set; }
        /// <summary>
        /// ChannelSource
        /// </summary>       
        public string CSource { get; set; }
        /// <summary>
        /// Terminal Source
        /// </summary>      
        public string TSource { get; set; }
    }
}
